package com.android.love.parser;

import java.util.List;

import com.alibaba.fastjson.JSON;
import com.android.love.util.LogUtil;
import com.android.love.vo.Goods;
import com.android.love.vo.Meixiu;

public class CatalogParser extends BaseParser<List<Goods>> {
	private static final String TAG = "CatalogParser";

	@Override
	public List<Goods> parserJson(String jsonStr) {
		List<Goods> goods = null;
		if (checkResponse(jsonStr)) {
			String data = jsonObject.getString("data");
			LogUtil.i(TAG, "data---" + data);
			if (data != null) {
				goods = JSON.parseArray(data, Goods.class);
			}
		}
		LogUtil.i(TAG, "goods---" + goods.size());
		return goods;
	}
}
